package mylibrary.designPattern.decorator;

/**
 * 
 * @author gaoshuai
 * 
 * 具体装饰角色，负责给构件添加增加的功能
 *
 */
public class SensitiveDecorator extends MessageBoardDecorator{

	public SensitiveDecorator(MessageBoardHandler handler) {
		super(handler);
	}
	
	public String filter(String content) {
		
		String temp = super.filter(content);
		
		temp += " 过滤敏感字符";
		
		return temp;
	}
}
